package com.tms.monitoring.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Trajectory {
    private Long id;
    private String waybillNumber;
    private String licensePlate;
    private String driver;
    private String vehicleLocation;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime departureTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedDeliveryTime;
    private String origin;
    private String destination;
    @TableField(exist = false)
    private String via;
}
